STACK Statement ---------------------------------------------------------------------------- Action Resets the size of the stack. Syntax STACK longinteger& Remarks The default stack size is 3K for DOS and 3.5K for OS-2. The minimum stack size (if longinteger& is 0) is 0.325K for DOS and 0.825K for OS-2. The argument longinteger& is the number of bytes to reserve for the stack. If longinteger& is omitted, the stack is reset to its default size. If you request a stack space that is too large, the STACK statement allocates as much stack space as possible. The STACK statement is useful in programs that contain recursion and lots of nesting of sub and function procedures. The STACK statement is allowed only at the module level. The STACK function can be used with the stack statement to set the stack to the maximum possible size. For example. STACK STACK See Also CLEAR, STACK Function Example See the FRE function programming example, which uses the STACK statement.